<h3>i from view</h3>
<b>${msg}</b>
<button id = "btnClick">btnClick</button>
<script>
	$(document).ready(function(){
		$(document).on("click","#btnClick",function(){
			$.ajax({
				url:ctxPath + "/api/test",
				method:"POST",
				data:{"name":"mhdanh"},
				success:function(result){
					console.log(result);
				}
			});	
		});
	});
</script>